package com.pangolin.pangolinim.sqlite;

public class DBSession {
    private int uid;            //用户uid
    private String name;        //用户名
    private String headimg;     //用户头像
    private int msgtype;        //最后一条消息类型
    private String lastmsg;     //最后一条消息内容
    private String lasttime;    //最后一条消息时间
    private int unread;         //是否有未读消息

    public int getUid(){ return uid; }

    public String getName(){ return name; }

    public String getHeadimg(){ return headimg; }

    public int getMsgtype(){ return msgtype; }

    public String getLastmsg(){ return lastmsg; }

    public void setUid(int uid){ this.uid = uid; }

    public void setName(String name){ this.name = name; }

    public void setHeadimg(String headimg){ this.headimg = headimg; }

    public void setMsgtype(int msgtype){ this.msgtype = msgtype; }

    public void setLastmsg(String lastmsg){ this.lastmsg = lastmsg; }

    public void setLasttime(String lasttime){ this.lasttime = lasttime; }

    public String getLasttime(){ return lasttime; }

    public int getUnread(){ return unread; }

    public void setUnread(int unread){ this.unread = unread; }
}
